[INFO] fetching crate nakamoto-p2p 0.2.1...
[INFO] building nakamoto-p2p-0.2.1 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] extracting crate nakamoto-p2p 0.2.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate nakamoto-p2p 0.2.1 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] finished tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] tweaked toml for crates.io crate nakamoto-p2p 0.2.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded secp256k1 v0.19.0
[INFO] [stderr]   Downloaded secp256k1-sys v0.3.0
[INFO] [stderr]   Downloaded bitcoin v0.25.2
[INFO] [stderr]   Downloaded microserde-derive v0.1.13
[INFO] [stderr]   Downloaded microserde v0.1.13
[INFO] [stderr]   Downloaded nakamoto-common v0.2.0
[INFO] [stderr]   Downloaded nonempty v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 140099de40a77ea6f1193c7aea31ec04d1d671be000d68238793a98ebe4a6783
[INFO] running `Command { std: "docker" "start" "-a" "140099de40a77ea6f1193c7aea31ec04d1d671be000d68238793a98ebe4a6783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "140099de40a77ea6f1193c7aea31ec04d1d671be000d68238793a98ebe4a6783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "140099de40a77ea6f1193c7aea31ec04d1d671be000d68238793a98ebe4a6783", kill_on_drop: false }`
[INFO] [stdout] 140099de40a77ea6f1193c7aea31ec04d1d671be000d68238793a98ebe4a6783
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 880c3c2fa19ae3e4c948ea28a4a81ecc5ad4b6358b445b57fa9ea3a68f466d9c
[INFO] running `Command { std: "docker" "start" "-a" "880c3c2fa19ae3e4c948ea28a4a81ecc5ad4b6358b445b57fa9ea3a68f466d9c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling thiserror v1.0.35
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling bitcoin_hashes v0.9.7
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling nonempty v0.5.0
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling secp256k1-sys v0.3.0
[INFO] [stderr]    Compiling secp256k1 v0.19.0
[INFO] [stderr]    Compiling bitcoin v0.25.2
[INFO] [stderr]    Compiling microserde-derive v0.1.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.35
[INFO] [stderr]    Compiling microserde v0.1.13
[INFO] [stderr]    Compiling nakamoto-common v0.2.0
[INFO] [stderr]    Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `protocol_version` and `params` are never read
[INFO] [stdout]    --> src/protocol.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub struct Protocol<T, F, P> {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 258 |     protocol_version: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 259 |     /// Consensus parameters.
[INFO] [stdout] 260 |     params: Params,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `address`, `local_address` and `time` are never read
[INFO] [stdout]   --> src/protocol/connmgr.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Peer {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 85 |     /// Remote peer address.
[INFO] [stdout] 86 |     address: net::SocketAddr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 87 |     /// Local peer address.
[INFO] [stdout] 88 |     local_address: net::SocketAddr,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     time: LocalTime,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `height` and `last_active` are never read
[INFO] [stdout]    --> src/protocol/spvmgr.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 185 | struct Peer {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 186 |     height: Height,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 187 |     last_active: LocalTime,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.69s
[INFO] running `Command { std: "docker" "inspect" "880c3c2fa19ae3e4c948ea28a4a81ecc5ad4b6358b445b57fa9ea3a68f466d9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "880c3c2fa19ae3e4c948ea28a4a81ecc5ad4b6358b445b57fa9ea3a68f466d9c", kill_on_drop: false }`
[INFO] [stdout] 880c3c2fa19ae3e4c948ea28a4a81ecc5ad4b6358b445b57fa9ea3a68f466d9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1f4319c21ef14f15b5a739641957e30cabbc67ac7aca1eb0c60f1c381bf4e18
[INFO] running `Command { std: "docker" "start" "-a" "d1f4319c21ef14f15b5a739641957e30cabbc67ac7aca1eb0c60f1c381bf4e18", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling quickcheck_macros v0.9.1
[INFO] [stdout] warning: fields `protocol_version` and `params` are never read
[INFO] [stdout]    --> src/protocol.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub struct Protocol<T, F, P> {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 258 |     protocol_version: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 259 |     /// Consensus parameters.
[INFO] [stdout] 260 |     params: Params,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `address`, `local_address` and `time` are never read
[INFO] [stdout]   --> src/protocol/connmgr.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Peer {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 85 |     /// Remote peer address.
[INFO] [stdout] 86 |     address: net::SocketAddr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 87 |     /// Local peer address.
[INFO] [stdout] 88 |     local_address: net::SocketAddr,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     time: LocalTime,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `height` and `last_active` are never read
[INFO] [stdout]    --> src/protocol/spvmgr.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 185 | struct Peer {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 186 |     height: Height,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 187 |     last_active: LocalTime,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling quickcheck v0.9.2
[INFO] [stderr]    Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 637 |     use nakamoto_chain::block::{cache::BlockCache, store};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 637 |     use nakamoto_common::block::{cache::BlockCache, store};
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use nakamoto_chain::filter::cache::FilterCache;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use nakamoto_common::filter::cache::FilterCache;
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use nakamoto_chain::block::cache::BlockCache;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 | use nakamoto_common::block::cache::BlockCache;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use nakamoto_chain::block::store;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 | use nakamoto_common::block::store;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use nakamoto_test::block::cache::model;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:641:9
[INFO] [stdout]     |
[INFO] [stdout] 641 |     use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use nakamoto_test::logger;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:760:30
[INFO] [stdout]     |
[INFO] [stdout] 760 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^ expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 760 -                 ) if addr == &remote
[INFO] [stdout] 760 +                 ) if addr == remote
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:775:30
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^ expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 775 -                 ) if addr == &remote
[INFO] [stdout] 775 +                 ) if addr == remote
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]   --> src/protocol/tests.rs:22:46
[INFO] [stdout]    |
[INFO] [stdout] 22 | use nakamoto_common::block::store::{Genesis, Store};
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nakamoto-p2p` due to 11 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d1f4319c21ef14f15b5a739641957e30cabbc67ac7aca1eb0c60f1c381bf4e18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1f4319c21ef14f15b5a739641957e30cabbc67ac7aca1eb0c60f1c381bf4e18", kill_on_drop: false }`
[INFO] [stdout] d1f4319c21ef14f15b5a739641957e30cabbc67ac7aca1eb0c60f1c381bf4e18
